package com.shw.utils;

import org.apache.shiro.crypto.hash.SimpleHash;

/**
 * Created by shw on 2018-04-12.
 */
public class MD5 {


    public static void main(String[] args) {
        String hashAlgorithmName="MD5";
        Object credentials="456";
        Object salt="jwh";
        int hashIterations=1024;
        SimpleHash simpleHash = new SimpleHash(hashAlgorithmName, credentials, salt, hashIterations);
        System.out.println(simpleHash);
    }
}
